package com.timoon.component.behavior.validateengine;

import org.apache.wicket.request.resource.CssResourceReference;
import org.apache.wicket.request.resource.JavaScriptResourceReference;

import com.googlecode.wicket.jquery.ui.JQueryBehavior;
import com.googlecode.wicket.jquery.ui.Options;
import com.timoon.component.behavior.jqgrid.AbstractJqGridBehavior;

public class AbstractValidateBehavior extends JQueryBehavior {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3384470528552509792L;

	public AbstractValidateBehavior(String selector, String method,
			Options options) {
		super(selector, method, options);
		// TODO Auto-generated constructor stub
		this.add(new JavaScriptResourceReference(AbstractValidateBehavior.class, "jquery.validationEngine-zh_CN.js"));
		this.add(new JavaScriptResourceReference(AbstractValidateBehavior.class, "jquery.validationEngine.js"));
		this.add(new CssResourceReference(AbstractValidateBehavior.class, "validationEngine.jquery.css"));
	}

}
